package fjut.acm.coding.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "v_contest_user")
public class VContestUser {
    private String username;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registerTime;

    private Integer review_status;
    private String nickname;
    private Integer rating;
    private Integer contestId;
}
